vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1

-- set termguicolors to enable highlight groups
vim.opt.termguicolors = true

-- empty setup using defaults
require("nvim-tree").setup({
	disable_netrw = true,
	view = {
		adaptive_size = true,
		float = {
			enable = false,
		},
	},
	tab = {
		sync = {
			open = true,
			close = true
		}
	},
	actions = {
		open_file = {
			quit_on_open = true,
		}
	}
})

vim.keymap.set('n', '<space>t', '<cmd>NvimTreeToggle<cr>')
